package com.yxzc.chapter03.arithoper

/**
 *
 * @author wu
 * @create 2021-09-01-16:20 
 */
object Demo1 {
  def main(args: Array[String]): Unit = {
    val days = 97
    printf("有%d周 %d周", days / 7, days % 7)

    val huashi = 232.5
    val sheshi = 5.0 / 9 * (huashi - 100)
    println("对应的摄氏温度 "+sheshi.formatted("%.2f"))

  }
}
